﻿namespace Ruirun.Mes.Events
{
    /// <summary>
    /// 配置文件更改事件处理器
    /// </summary>
    public class ConfigurationChangeEventHandler : EventHandlerBase<ConfigurationChangeEventData>
    {
        #region "属性"
        /// <summary>
        /// 获取 服务提供者
        /// </summary>
        protected IServiceProvider ServiceProvider { get; }

        /// <summary>
        /// 初始化一个消息发送事件处理器（<see cref="ConfigurationChangeEventHandler"/>）的新实例
        /// </summary>
        /// <param name="provider">服务提供者</param>
        public ConfigurationChangeEventHandler(IServiceProvider provider)
        {
            ServiceProvider = provider;
        }

        #endregion

        /// <summary>
        /// 事件处理
        /// </summary>
        /// <param name="eventData">事件源数据</param>
        /// <param name="provider">服务提供者</param>
        public override void Handle(ConfigurationChangeEventData eventData, IServiceProvider provider)
        {
            throw new NotImplementedException();
        }
    }
}
